/**
 * Created by Administrator on 2016/11/17.
 */
//e 传入点击元素
hgNews.clickLayer = function(e){
    e.click(function(){
        layer.open({
            content: '<div class="comment-go"> <div class="share l-f"> <a class="l-f-g1" href=""><img src="img/23324a_07.png" alt=""><p class="p">朋友圈</p></a> <a class="l-f-g1" href=""><img src="img/23324a_09.png" alt=""><p class="p">QQ空间</p></a> <a class="l-f-g1" href=""><img src="img/23324a_11_03.png" alt=""><p class="p">新浪微博</p></a> <a class="l-f-g1" href=""><img src="img/23324a_13.png" alt=""><p class="p">QQ好友</p></a> </div>'+
            '<div class="cancel">取消分享</div> </div>',
            area: '100%',
            type: 1,
            title: false,
            closeBtn: 0,
            shadeClose: true,
            offset: 'rb'
        });
    });
    $("body").on("click",".cancel",function(){
        $(".layui-layer-shade").remove();
        $(".layui-layer").remove();
    });

};
